import i18n from '@/utils/i18n'
export const formItems = [
  {
    filed: 'courseName',
    type: 'input',
    label: i18n.t('message.kcmc')
  },
  {
    filed: 'selTime',
    type: 'daterange',
    clearable: false,
    label: i18n.t('message.rq'),
    placeholder: i18n.t('message.qxzsjd')
  },
  {
    filed: 'orderId',
    type: 'input',
    label: i18n.t('message.ddbh')
  },
  {
    filed: 'memberInfo',
    placeholder: i18n.t('message.hy2'),
    type: 'input',
    label: i18n.t('message.memberInfo')
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: i18n.t('message.zffs'),
    labelCode: 'name',
    options: []
  },
  {
    filed: 'courseType',
    type: 'select',
    label: i18n.t('message.kclc'),
    options: [
      { value: '0', label: i18n.t('message.spk') },
      { value: '1', label: i18n.t('message.cgk') },
      { value: '4', label: i18n.t('message.sjk') }
    ]
  },
  {
    filed: 'from',
    type: 'select',
    label: i18n.t('message.ddly'),
    labelCode: 'name',
    options: []
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
